﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DBO;
using CommonLibrary;
using Serveur.DataAccess;
using DBO.Economy;

namespace BusinessManagement
{
    public class RaceDictionary : ResourceDictionnary<Race>
    {
        public IList<Race> GetAll()
        {
            return _GDA.GetRaces();
        }

        protected override Race SourceGet(string Key)
        {
            return _GDA.GetRaceByName(Key);
        }

        private GameConstantsDataAccess _GDA = new GameConstantsDataAccess();

        
    }
}
